package net.sareweb.acab.exceptions;



import org.jboss.seam.annotations.ApplicationException;

@SuppressWarnings("serial")
@ApplicationException(rollback=true)
public class AcabException extends RuntimeException {
	
	private String componentName;
	private String message;

	public AcabException(String message, String componentName){
		this.message = message;
		this.componentName = componentName;
	}

	public String getComponentName() {
		return componentName;
	}

	public void setComponentName(String componentName) {
		this.componentName = componentName;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
